home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
UTILITY
/
DO1002.ARJ
/
INCDEC.SCR
< prev
next >
Wrap
Text File
|
1991-12-22
|
782b
|
19 lines
.pg wi full clr cy
COMMAND NAME»gray«: »%t« SetCounter »ye«
/{INC|DEC} {variable}[ {value}]
/cw
The »%t«SetCounter»#« commands allow you to »cy«INC»wh«rement»#« or
»cy«DEC»wh«rement»#« counters (numeric variables). If the optional
»cy«{value}»#« is not entered, the counter is modified by »gr«1»#«.
»cy«{value}»#« is expanded and can be a formula or number containing
decimals. »cy«{variable}»#« is also expanded. For example:
»wh«/INC Counter1»#« Sets Counter1 up by 1
»wh«/DEC MyCounter 2»#« Subtracts 2 from MyCounter
»wh«/INC Test1 0.5»#« Adds 0.5 to Test1
»wh«/DEC C3 2.5*%%Test1»#« Subtracts the value of 2.5 x the contents of
the variable test1 from C3.
/ENDEXEC CLEAR